package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Set;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name="schedule")
public class Schedule {
    @Id
    private Integer schnum;

    @Column(name="starttime")
    private String starttime;

    @Column(name="endtime")
    private String endtime;



}
